算法题解 食物链

source 算法基础课界面 solution code and explain: #include <iostream> using namespace std; const int N = 50010; // f 采用正常的并查集操作,但是含意并不是两个动物是同一个物种,而是表示… ...more

March 08, 2024 #algorithm #union-find

Android Rime Ime

Currently there are two options: trime and fcitx5-android with rime plugin. Personally I prefer fcitx5-android after trying all the two options. 配置教程:… ...more

March 01, 2024 #rime #ime #android

Termux sshd

Follow the Termux 镜像使用帮助 - 清华大学开源镜像站 to change the package mirror. then pkg update pkg install openssh ifconfig # to show the ip address sshd Then … ...more

March 01, 2024 #sshd #termux #ssh

Ssh New User Setup

# assume the user name is `user` mkdir -p /home/user/.ssh chmod 700 /home/user/.ssh chown user:user /home/user/.ssh echo 'paste-your-public-key-h… ...more

February 25, 2024 #ssh #linux

Web Front End Note

Nuxt && Vue Use function as useFetch parameter to watch URL change: const { data: product, pending, error } = await useFetch(() => `https… ...more

February 22, 2024 #web #front-end

Use Dae Proxy Tool

DAE is trully awesome! I can directly use curl www.google.com. I can also directly use zig fetch(which cannot be proxyed by proxychains and all_proxy,… ...more

February 10, 2024 #dae #proxy #network